home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE overlay SYSTEM "chrome://bookmarkpreviews/locale/strings.dtd">
-
- <!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1/GPL 2.0/LGPL 2.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the
- - License.
- -
- - The Original Code is the Bookmarks Previews extension.
- -
- - The Initial Developer of the Original Code is
- - John Marshall <JohnM555@gmail.com>.
- - Portions created by the Initial Developer are Copyright (C) 2007
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s):
- - John Marshall <JohnM555@gmail.com>
- - Alternatively, the contents of this file may be used under the terms of
- - either the GNU General Public License Version 2 or later (the "GPL"), or
- - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- - in which case the provisions of the GPL or the LGPL are applicable instead
- - of those above. If you wish to allow use of your version of this file only
- - under the terms of either the GPL or the LGPL, and not to allow others to
- - use your version of this file under the terms of the MPL, indicate your
- - decision by deleting the provisions above and replace them with the notice
- - and other provisions required by the LGPL or the GPL. If you do not delete
- - the provisions above, a recipient may use your version of this file under
- - the terms of any one of the MPL, the GPL or the LGPL.
- -
- - ***** END LICENSE BLOCK ***** -->
-
- <?xul-overlay href="chrome://bookmarkpreviews/content/albumview.xul"?>
- <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
-
- <?xml-stylesheet href="chrome://bookmarkpreviews/skin/library.css" type="text/css"?>
- <?xml-stylesheet href="chrome://bookmarkpreviews/skin/thumbview.css" type="text/css"?>
- <overlay id="bookmarkpreviewsOverlay" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <script src="chrome://bookmarkpreviews/content/placesOrganizer.js"/>
- <script src="chrome://bookmarkpreviews/content/previewServiceUtils.js"/>
- <script src="chrome://bookmarkpreviews/content/placestreeview.js"/>
- <window id="places">
- <commandset id="previewsCommandSet" insertafter="organizerCommandSet">
- <command id="BookmarkPreviews:ShowDetails"
- oncommand="PlacesPreviewUtils.onSelectView('details',event)"/>
- <command id="BookmarkPreviews:ShowAlbums"
- oncommand="PlacesPreviewUtils.onSelectView('albums',event)"/>
- <command id="BookmarkPreviews:ShowThumbnails"
- oncommand="PlacesPreviewUtils.onSelectView('thumbnails',event)"/>
- </commandset>
- </window>
- <menupopup id="organizeButtonPopup">
- <menuseparator id="orgCreatePreviewsSeparator" insertafter="orgDelete"/>
- <menuitem id="orgCreatePreviews" insertbefore="orgCloseSeparator"
- label="&createpreviews.label;"
- accesskey="&createpreviews.accesskey;"
- oncommand="PlacesPreviewUtils.createPreviews();"/>
- </menupopup>
- <menupopup id="viewMenuPopup" view="details" persist="view">
- <menuitem id="detailsViewMenu" label="&viewmenu.details.label;" insertbefore="viewColumns"
- type="radio" name="view"
- persist="checked"
- command="BookmarkPreviews:ShowDetails"/>
- <menuitem id="albumsViewMenu" label="&viewmenu.albums.label;" insertbefore="viewColumns"
- type="radio" name="view"
- persist="checked"
- command="BookmarkPreviews:ShowAlbums"/>
- <menuitem id="thumbnailsViewMenu" label="&viewmenu.thumbnails.label;" insertbefore="viewColumns"
- type="radio" name="view"
- persist="checked"
- command="BookmarkPreviews:ShowThumbnails"
- />
- <menu id="thumbsSize" label="&thumbnailsize.label;" insertbefore="viewColumns" disabled="true">
- <menupopup id="thumbsSizePopup">
- <menuitem label="&thumbsSizePopup.small.label;" type="radio" name="thumbsize" oncommand="ThumbView.changeSize(0);"/>
- <menuitem label="&thumbsSizePopup.medium.label;" type="radio" name="thumbsize" oncommand="ThumbView.changeSize(1);"/>
- <menuitem label="&thumbsSizePopup.large.label;" type="radio" name="thumbsize" oncommand="ThumbView.changeSize(2);"/>
- </menupopup>
- </menu>
- </menupopup>
- <toolbar id="placesToolbar">
- <hbox id="displayModes" insertbefore="searchFilter">
- <toolbarbutton id="detailsMode"
- tooltiptext="&viewmenu.details.label;"
- command="BookmarkPreviews:ShowDetails"/>
- <toolbarbutton id="albumMode"
- tooltiptext="&viewmenu.albums.label;"
- command="BookmarkPreviews:ShowAlbums"/>
- <toolbarbutton id="thumbnailMode"
- tooltiptext="&viewmenu.thumbnails.label;"
- command="BookmarkPreviews:ShowThumbnails"/>
- </hbox>
- </toolbar>
- <!--
- <hbox id="placesView">
- <splitter id="splitter" oncommand="PlacesPreviewUtils.onResize(event);"/>
- </hbox>
- -->
- <vbox id="contentView">
- <deck id="contentDeck">
- <vbox id="defaultView">
- <splitter id="albumview-splitter" insertafter="searchModifiers"
- collapse="before" resizeafter="closest" resizebefore="closest"
- oncommand="PlacesPreviewUtils.onResize(event);">
- <grippy/>
- </splitter>
- <vbox id="albumview-container" insertafter="searchModifiers"
- persist="height"
- collapsed="true"
- />
- </vbox>
- <thumbnailview id="thumbnailView" insertafter="defaultView" context="placesContext" type="places"/>
- </deck>
- <splitter id="contentSplitter" collapse="after"><grippy/></splitter>
- </vbox>
- <!-- -->
- </overlay>
-